package com.mt.system.feign;

import com.mt.common.PagerInfo;
import com.mt.common.ServiceResult;
import com.mt.system.entity.RoleEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
import java.util.Map;
@FeignClient(name = "role")
public interface RoleFeign {
    @GetMapping("/role/findList")
    ServiceResult<List<RoleEntity>> findList(Map<String, Object> params, PagerInfo<?> pagerInfo);
}
